package com.youbug.kefu.dto;

import com.youbug.kefu.entity.Chat;

import javax.websocket.Session;

public class SessionInfo {
    private String type;
    private Long userId;
    private String userName;
    private Session session;
    private Chat holdChat;

    public SessionInfo(String type, Long userId,String userName, Session session) {
        this.type = type;
        this.userId = userId;
        this.userName = userName;
        this.session = session;
    }

    public Chat getHoldChat() {
        return holdChat;
    }

    public void setHoldChat(Chat holdChat) {
        this.holdChat = holdChat;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }
}
